package demo0;

import java.util.Arrays;

public class Test_0310 {
    public static void print (Card_0311[][] card0311s) {
        for (int i = 0; i < card0311s.length; i++) {
            System.out.print("第" + (i + 1) + "个人的牌是：");
            for (int j = 0; j < card0311s[0].length; j++) {
                System.out.print(card0311s[i][j].getSuit() + card0311s[i][j].getNum() + " ");
            }
            System.out.println();
        }
    }
    public static void main(String[] args) {
//        Complex_0310 c1 = new Complex_0310(1.0, 2.0);
//        Complex_0310 c2 = new Complex_0310(3.0, 4.0);
//        System.out.print("第一个：");
//        c1.print(); // 输出 (1.0, 2.0)
//        System.out.print("第二个：");
//        c2.print(); // 输出 (3.0, 4.0)
//        System.out.print("相加：");
//        Complex_0310 c3 = c1.add(c2);
//        c3.print(); // 输出 (4.0, 6.0)
//        System.out.print("相减：");
//        c3 = c1.subtract(c2);
//        c3.print(); // 输出 (-2.0, -2.0)

        HugeInteger_0310 h1 = new HugeInteger_0310("11");
        HugeInteger_0310 h2 = new HugeInteger_0310("11");
        System.out.print("第一个：");
        h1.print();
        System.out.print("第二个：");
        h2.print();
        System.out.print("相加：");
        h1.add(h2).print();
//      h1.mul(h2).print();
//        DeckOfCards_0311 dc = new DeckOfCards_0311();
//        dc.shuffle();
//       dc.print();
//        print(dc.fapai());
    }
}
